package com.yty.system.entity.enums;

/**
 * 返回枚举
 */
public enum ResultEnum {

    SUCCESS("0","操作成功"),
    ERROR("1","操作失败");

    private String code;
    private String message;

    ResultEnum(String code, String message) {
        this.code = code;
        this.message = message;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
